package org.example.shardiing;

import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;

/**
 * '账户账单消费账单' DO
 *
 * @author zengxiaoyu
 */
@TableName(value = "supplier_daily_usage_bill")
public class BillDetailDorisDO  {

    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 账户ID
     */
    @TableField(value = "account_id")
    private String accountId;


    @TableField(value = "supplier_id")
    private String supplierId;
    /**
     * 资源
     */
    @TableField(value = "resource_id")
    private String resourceId;

    /**
     * 资源服务id
     */
    @TableField(value = "resource_service_id")
    private String resourceServiceId;

    /**
     * 用量（含单位，如：1500s、23次）
     */
    @TableField(value = "usage")
    private BigDecimal usage;

    /**
     * 用量（含单位，如：1500s、23次）
     */
    @TableField(value = "usage_unit")
    private String usageUnit;

    /**
     * 现金消费
     */
    @TableField(value = "cash_amount")
    private BigDecimal cashAmount;

    /**
     * 货币代码（ISO 4217 标准，如 CNY 表示人民币）
     */
    @TableField(value = "cash_amount_currency")
    private String cashAmountCurrency;

    /**
     * 积分消费
     */
    @TableField(value = "point_amount")
    private Integer pointAmount;

    /**
     * 账单日期(yyyyMMddhh)
     */
    @TableField(value = "bill_date")
    private String billDate;


    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Long createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getResourceServiceId() {
        return resourceServiceId;
    }

    public void setResourceServiceId(String resourceServiceId) {
        this.resourceServiceId = resourceServiceId;
    }

    public BigDecimal getUsage() {
        return usage;
    }

    public void setUsage(BigDecimal usage) {
        this.usage = usage;
    }

    public String getUsageUnit() {
        return usageUnit;
    }

    public void setUsageUnit(String usageUnit) {
        this.usageUnit = usageUnit;
    }

    public BigDecimal getCashAmount() {
        return cashAmount;
    }

    public void setCashAmount(BigDecimal cashAmount) {
        this.cashAmount = cashAmount;
    }

    public String getCashAmountCurrency() {
        return cashAmountCurrency;
    }

    public void setCashAmountCurrency(String cashAmountCurrency) {
        this.cashAmountCurrency = cashAmountCurrency;
    }

    public Integer getPointAmount() {
        return pointAmount;
    }

    public void setPointAmount(Integer pointAmount) {
        this.pointAmount = pointAmount;
    }

    public String getBillDate() {
        return billDate;
    }

    public void setBillDate(String billDate) {
        this.billDate = billDate;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
}